const mongoose = require('mongoose');
module.exports = () => {
    let schema = new mongoose.Schema({
        name: String,//城市名称
        lat: Number,//纬度
        lng: Number,//经度
        deletedAt: Date,//创建日期
        createdAt: Date,
        updatedAt: Date,
    }, {collection: 'city'});

    return schema;
};
